package com.hb.core.pojo.flow.entity;

import com.hb.core.pojo.parent.MPCommonEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 流程主表(模板)
 * </p>
 *
 * @author zhaojk
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("work_flow_temp_main")
@ApiModel(value="FlowTempMain对象", description="流程主表(模板)")
public class FlowTempMain extends MPCommonEntity {

    @ApiModelProperty(value = "流程名称")
    private String flowName;

    @ApiModelProperty(value = "流程类型(关联字典)")
    private Integer flowType;

    @ApiModelProperty(value = "关联表单ID")
    private Long formId;

    @ApiModelProperty(value = "关联数据库表id")
    private Long dbTableId;

    @ApiModelProperty(value = "总流程数(后端计算或者前端传递参数)")
    private Integer runTotal;

    @ApiModelProperty(value = "显示图标")
    private String flowIcon;

    @ApiModelProperty(value = "启用标志(1: 启用, 0: 停用)")
    private Integer enableFlag;

    @ApiModelProperty(value = "停用原因")
    private String disableReason;


}
